

.rootChapterFlexContainer{
  display:flex;
  justify-content: space-between;
}
    
$ChapterArrow: 24px;
.tocExpander{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;

  // order: 2;
    
  // height: calc($ChapterArrow * 1.5);
  width: calc($ChapterArrow * 1.5);
  padding-right:40px;
  flex-basis: 56px;
}
    
.tocExpander > svg{
  transform-origin: 0 0;
  transform: scale(1.5);
  height: calc(24px * 1.5);
  color: var(--text-secondary);
}
    
    
.tocChapterTitle{
  margin-left:20px;
  margin-right:20px;
  flex-basis: calc(100% - 56px);
  display:flex;
  align-items: center;
  font-weight: 400;
}
    
.TocMapContainer{
  padding-top:10px;
  padding-bottom:10px;
  cursor: pointer;
  transition: 0.15s;
  border-radius: 10px;
}

.TocMapContainer:hover{

  background-color: rgba(0, 0, 0, 0.2);
  
}